/**
 * Created by xuechao on 2016/9/2.
 */

app.factory('LogService', [ '$resource', function($resource) {
    return $resource( '/GMS/log/:id/:action', {
        id:'@id',
        action : '@action'
    },{
        getLogsByCondition:{
            method : 'GET',
            isArray : false
        },
        findAllSysUsers:{
            method : 'GET',
            isArray : true
        }
    });
} ]);